#ifndef DELETESHEETCOMMAND_H
#define DELETESHEETCOMMAND_H

#include <QUndoCommand>
#include "FrakOutDataItem.h"
class FrakOutController;

class DeleteSheetCommand : public QUndoCommand
{
public:
    DeleteSheetCommand(const QString& text,
                       FrakOutController& controller,
                       const FrakOutDataItem& sheet,
                       int sheetIndex);
    virtual void redo();
    virtual void undo();

private:
    FrakOutController& m_controller;
    FrakOutDataItem m_sheet;
    int m_sheetIndex;
};

#endif // DELETESHEETCOMMAND_H
